
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@aws-cdk/aws-sqs
Advanced tools
Here's how to add a basic queue to your application:
new Queue(this, 'Queue');
If you want to encrypt the queue contents, set the encryption
property. You can have
the messages encrypted with a key that SQS manages for you, or a key that you
can manage yourself.
// Use managed key
new Queue(this, 'Queue', {
encryption: QueueEncryption.Managed,
});
// Use custom key
const myKey = new EncryptionKey(this, 'Key');
new Queue(this, 'Queue', {
encryption: QueueEncryption.Kms,
encryptionMasterKey: myKey
});
FIFO queues give guarantees on the order in which messages are dequeued, and have additional features in order to help guarantee exactly-once processing. For more information, see the SQS manual. Note that FIFO queues are not available in all AWS regions.
A queue can be made a FIFO queue by either setting fifo: true
, giving it a name which ends
in ".fifo"
, or enabling content-based deduplication (which requires FIFO queues).
0.16.0 (2018-11-12)
FAQs
The CDK Construct Library for AWS::SQS
The npm package @aws-cdk/aws-sqs receives a total of 106,856 weekly downloads. As such, @aws-cdk/aws-sqs popularity was classified as popular.
We found that @aws-cdk/aws-sqs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.